package com.study.myteach.适配器模式;

import com.study.myteach.适配器模式.pack1.ILog;
import com.study.myteach.适配器模式.pack2.FileLog;

/**
 * @author lk
 * @date 2021/4/3 0003 15:23
 * @description:
 */
public class DemoTest {
    public static void main(String[] args) {
//        ILog log = new FileLog();
        FileLog fileLog = new FileLog();
        ILog log = new LogAdapter(fileLog);

        Client client = new Client(log);
        client.save();
    }
}
